import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ApesSplitComponent } from './components/apes-split.component';
import { ApesSplitAreaDirective } from './components/apes-splitArea.directive';
import { ApesSplitGutterDirective } from './components/apes-splitGutter.directive';

@NgModule({
    imports: [
        CommonModule
    ],
    declarations: [
        ApesSplitComponent,
        ApesSplitAreaDirective,
        ApesSplitGutterDirective,
    ],
    exports: [
        ApesSplitComponent,
        ApesSplitAreaDirective,
    ]
})
export class ApesSplitModule {

    public static forRoot(): ModuleWithProviders {
        return {
            ngModule: ApesSplitModule,
            providers: []
        };
    }

}
